using Decisions.HL7.Message;

namespace Decisions.HL7
{
    public abstract class AbstractParsableData : IParseable
    {
        public void Parse(string value, HL7ParserOptions options, string dataName, char? whichSep)
        {
            // looks up attributes via reflection
            // creates sub types and calls parse
            // sets properties

        }

        public string Output(HL7Version version, string delimiter)
        {
            // looks up attributes via reflection
            // puts together string
            // returns it
            return null;
        }
    }
}